package 循环;

public class demo01 {
    public static void main(String[] args) {
        for (int i=1998;i<=2008;i++){
            if(i%4==0&&i%100!=0||i%400==0){
                System.out.println(i);
            }
        }
    }
}
